package com.jk.youxuanmall.member.feign;

import com.jk.youxuanmall.common.pojo.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "youxuanmall-coupon", contextId = "coupon")
public interface CouponSeviceFeign {

    @GetMapping(value = "/coupon/coupon/findCouponByUsername")
    public ResponseResult findCouponByUsername(@RequestParam(value = "username") String username);
}
